package edu.xmut.yuepai.blog.service;


import com.baomidou.mybatisplus.extension.service.IService;
import edu.xmut.yuepai.model.entity.Blog;
import edu.xmut.yuepai.model.form.BlogPublishForm;
import edu.xmut.yuepai.model.vo.BlogDetailVo;
import edu.xmut.yuepai.model.vo.PageVO;

/**
 * @author tanjiao
 * @description 针对表【blog(帖子)】的数据库操作Service
 * @createDate 2024-09-06 14:52:19
 */
public interface BlogService extends IService<Blog> {

    PageVO recommend(Integer pageNum, Integer pageSize);


    BlogDetailVo getBlogDetail(Long id);

    Long publish(BlogPublishForm blogPublishForm, String ip);

}
